home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Resources / Online / Miami / MiamiSDK / netinclude / netinet / udp_var.h < prev    next >
C/C++ Source or Header  |  1997-12-04  |  573b  |  26 lines

  1. #ifndef _NETINET_UDP_VAR_H_
  2. #define _NETINET_UDP_VAR_H_
  3.  
  4. #ifndef _SYS_SYSCTL_H_
  5. #include <sys/sysctl.h>
  6. #endif
  7.  
  8. /*
  9.  * Names for UDP sysctl objects
  10.  */
  11. #define    UDPCTL_CHECKSUM        1    /* checksum UDP packets */
  12. #define UDPCTL_STATS        2    /* statistics (read-only) */
  13. #define    UDPCTL_MAXDGRAM        3    /* max datagram size */
  14. #define    UDPCTL_RECVSPACE    4    /* default receive buffer space */
  15. #define UDPCTL_MAXID        5
  16.  
  17. #define UDPCTL_NAMES { \
  18.     { 0, 0 }, \
  19.     { "checksum", CTLTYPE_INT }, \
  20.     { "stats", CTLTYPE_STRUCT }, \
  21.     { "maxdgram", CTLTYPE_INT }, \
  22.     { "recvspace", CTLTYPE_INT }, \
  23. }
  24.  
  25. #endif
  26.